package fun.werfamily.wf.goods.core.infrastructure.mapper;


import fun.werfamily.wf.goods.core.infrastructure.dataobject.GoodsSpuSpecDO;

import java.util.List;

public interface GoodsSpuSpecMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(GoodsSpuSpecDO record);

    GoodsSpuSpecDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsSpuSpecDO record);

    /**
     * spuCode批量查询
     *
     * @param spuCodes
     * @return
     */
    List<GoodsSpuSpecDO> listBySpuCodes(List<String> spuCodes);
}